package com.open.micro.service.service;

import java.util.List;

import org.springframework.cloud.netflix.feign.FeignClient;

import com.open.micro.service.dataaccess.dataobject.UserDo;
import com.open.micro.service.service.impl.UserServiceFallBack;
import com.spring.model.ResultModel;

@FeignClient(path="", name="demo.service", decode404=true, fallback=UserServiceFallBack.class)
public interface UserService {

	List<UserDo> listAllUsers( Integer page, Integer pageSize );

	ResultModel<UserDo> addUser(String userId, String userName);
}
